Skip to content

[ci] add prek lint workflow#98

Merged
tongke6 merged 1 commit into
mainfrom
tk/lint-ci
Jun 23, 2026
Merged

[ci] add prek lint workflow#98
tongke6 merged 1 commit into
mainfrom
tk/lint-ci

Conversation

@tongke6

@tongke6 tongke6 commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

📌 Description

Add prek (pre-commit) check workflow

🔍 Related Issues

🚀 Pull Request Checklist

Thank you for contributing to cuLA! Before we review your pull request, please make sure the following items are complete.

✅ Pre-commit Checks

  • I have installed pre-commit by running pip install pre-commit (or used your preferred method).
  • I have installed the hooks with pre-commit install.
  • I have run the hooks manually with pre-commit run --all-files and fixed any reported issues.

If you are unsure about how to set up pre-commit, see the pre-commit documentation.

🧪 Tests

  • Tests have been added or updated as needed.
  • All tests are passing.

⚡ Performance

Reviewer Notes

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@zheyang0825 zheyang0825 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a GitHub Actions “Lint” workflow to run the repository’s pre-commit hooks via prek on pushes and pull requests targeting main, helping enforce formatting/linting in CI.

Changes:

  • Introduces a new .github/workflows/lint.yml workflow.
  • Runs prek hooks for clang-format, ruff, and ruff-format in separate jobs with concurrency cancellation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/lint.yml
Comment thread .github/workflows/lint.yml
@tongke6 tongke6 requested a review from fkuner June 23, 2026 07:25

@icavan icavan left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tongke6 tongke6 merged commit ff1b236 into main Jun 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants